package com.example.tranport.client;

import com.example.tranport.TransPort;
import org.apache.mina.core.session.IoSession;

public interface ClientTransPort extends TransPort {

    /****
     * 连接到服务端
     */
    default public void connect() {

    }

    /****
     * 断开连接
     */
    default public void disconnect() {

    }

    /****
     * 获取session消息
     * @return
     */
    default public IoSession getSession() {
        return null;
    }
}
